<h1>Listing scan_targets</h1>

<table>
  <tr>
    <th>Folder Path</th>
    <th>Disposition</th>
  </tr>

<% for scan_target in @scan_targets %>
  <tr>
    <td><%= h scan_target.folder.path %></td>
    <td><%= h ScanTarget::DISPOSITION_NAMES[scan_target.disposition_id] %></td>
    <td><%= link_to 'Show', scan_target %></td>
    <td><%= link_to 'Edit', edit_scan_target_path(scan_target) %></td>
    <td><%= link_to 'Destroy', scan_target, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New scan_target', new_scan_target_path %>
